const users = uni.getStorageSync("uni-id-pages-userInfo")
function areaPower (){
	return users.manage_area.map(item => {
		return item.code
	})
}
function getArea(){
	return users.manage_area.map(item => {
		return {
				text: item.title,
				value: item.code,
			}
	})
}

export {
	areaPower,
	getArea
}